import {flag, sum, num1, num2, Person} from "./aaa.js";
// 导入函数
import {mul} from "./aaa.js";

if (flag){
    console.log('明明就他比较温柔');
    console.log(sum(10, 220));
    console.log(num1);
    console.log(num2);
    console.log(sum(num1, num2));
}

console.log(mul(10, 1));

const  p = new Person();
p.run();

// 导入default
import addr from "./aaa.js"

// console.log(addr);
addr('lbwnb')

// 统一全部导入
import * as  aaa from "./aaa.js"

console.log(aaa.flag);
console.log(aaa.mul(20, 1));

